package com.panfeng.xcloud.common.security.properties;

import org.springframework.boot.context.properties.ConfigurationProperties;

/**
 *
 * OAuth2 认证配置Properties
 *
 * @author xiaobo
 * @version 1.0
 * @since 2018-12-28
 */
@ConfigurationProperties(prefix = "xdcloud.security")
public class SecurityProperties {

	/**
	 * OAuth2认证服务器配置
	 */
	private OAuth2Properties oauth2 = new OAuth2Properties();

	public OAuth2Properties getOauth2() {
		return oauth2;
	}

	public void setOauth2(OAuth2Properties oauth2) {
		this.oauth2 = oauth2;
	}

}

